package com.gz.slin.system.dao;

import com.gz.slin.system.pojo.Menu;

import java.util.List;

/**
 * Created by Administrator on 2016/8/15.
 */
public interface MenuDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> findAllMenuByNid(Integer nid);
}
